Total Complexity | 79 |
Dependencies | 3 |
Dependents | 14 |
Total lines | 826 |
Lines of code | 394 |
Logical lines of code | 166 |
Comment lines | 299 |
Methods | 8 |
Properties | 20 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__construct() | 37 | 169 | ||
get_generated_label() | 36 | 15 | 89 | |
get_simplified_label() | 41 | 12 | 66 | |
is_in_stock() | 55 | 5 | 21 | |
get_remaining_stock() | 58 | 4 | 16 | |
get_display_label() | 56 | 3 | 21 | |
to_array() | 65 | 2 | 9 | |
is_defined_amount() | 80 | 1 | 3 |